package com.mycode.chainOfResponsibility14.resolve;

// 董事会类：具体处理者
public class Congress extends Approver {

    public Congress(String name) {
        super(name);
    }

    @Override
    public void processRequest(PurchaseRequest request) {
        System.out.println(String.format("召开董事会审批采购单：%s 金额：%s 元，采购目的：%s", request.getNumber(), request.getAmount(), request.getPurpose()));
    }
}
